﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OpenWeb.Dal.Models
{
    public class DashboardModel
    {
        [key]
        [Required]
        public int UserID { get; set; }


        [ForeignKey("UserID")]
        public UserProfile User { get; set; }

        public virtual Message NewMessagge { get; set; }

        public virtual Reminder NewReminder { get; set; }

        public virtual IList<Message> Messagges { get; set; }

        public virtual IList<Reminder> Reminders { get; set; }

    }
}
